<<<<<<< HEAD
{extend name="main/index" /}
{block name="main"}

    <!-- Start right content -->
<div class="content-page">
    <!-- ============================================================== -->
    <!-- Start Content here -->
    <!-- ============================================================== -->
    <div class="content">
        <!-- Page Heading Start -->
        <div class="page-heading">
            <h1><i class='fa fa-table'></i> 用户管理</h1>
            <h3>添加用户</h3></div>
        <!-- Page Heading End-->                <!-- Your awesome content goes here -->
        <div class="row">

            <div class="col-md-12">
                <div class="widget">
                    <div class="widget-header transparent">
                        <h2><strong>用户列表</strong> 添加用户</h2>
                        <div class="additional-btn">
                            <a href="#" class="hidden reload"><i class="icon-ccw-1"></i></a>
                            <a href="#" class="widget-toggle"><i class="icon-down-open-2"></i></a>
                            <a href="#" class="widget-close"><i class="icon-cancel-3"></i></a>
                        </div>
                    </div>
                    <div class="widget-content">
                        <div class="table-responsive">
                           
                            <div class="row">
                                <div class="col-md-12">
                                    <form action="{:url('admin/UserController/update', ['id'=>$list['auid']])}" method='post' class="form-horizontal">
                                        <input type="hidden" name="_method" value="PUT" >
                                        <input type="hidden" name="id" value="{$list.auid}">

                                        <div class="form-group" style="">
                                            <label for="" class="col-sm-2 control-label">用户名：</label>
                                            <div class="col-sm-4">
                                                <input type="text" name="name" class="form-control" placeholder="用户名" readonly value="{$list['username']}">
                                            </div>
                                        </div>
                                        <div class="form-group">
                                            <label for="" class="col-sm-2 control-label">电话：</label>
                                            <div class="col-sm-4">
                                                <input  type="text" name="tel" class="form-control" placeholder=""  readonly value="{$list['tel']}">
                                            </div>
                                        </div>


                                        

                                        <div class="form-group">
                                            <div class="col-sm-4 col-sm-offset-2">
                                                <input type="radio" name="status" value="0" {$list['status'] == 0? 'checked' : ''}>启用
                                                <input type="radio" name="status" value="1" {$list['status'] == 1? 'checked' : ''}>禁用
                                            </div>
                                        </div>

                                        <div class="form-group">
                                            <div class="col-sm-offset-2 col-sm-4">
                                              <button type="submit" class="btn btn-default">保存</button>
                                            </div>
                                        </div>
                                
                                    </form>
                                </div>
                            </div>


=======
{{extend name="user/index" /}}

{{block name="title"}}
<body data-type="widgets">
<script src="/static/admin/admin/js/theme.js"></script>
<div class="am-g tpl-g">
{{/block}}

    {{block name="content"}}

    <!-- 内容区域 -->
    <div class="tpl-content-wrapper">

        <div class="container-fluid am-cf">
            <div class="row">
                <div class="am-u-sm-12 am-u-md-12 am-u-lg-9">
                    <div class="page-header-heading"><span class="am-icon-home page-header-heading-icon"></span> 编辑用户
                        <small> </small>
                    </div>
                    <p class="page-header-description">Amaze UI 有许多不同的表格可用。</p>
                </div>
                <div class="am-u-lg-3 tpl-index-settings-button">
                    <button type="button" class="page-header-button"><span class="am-icon-paint-brush"></span> 设置
                    </button>
                </div>
            </div>

        </div>

        <div class="row-content am-cf">


            <div class="row">

                <div class="am-u-sm-10 am-u-md-10 am-u-lg-10">
                    <div class="widget am-cf">
                        <div class="widget-head am-cf">
                            <div class="widget-title am-fl">边框表单</div>
                            <div class="widget-function am-fr">
                                <a href="javascript:;" class="am-icon-cog"></a>
                            </div>
                        </div>
                        <div class="widget-body am-fr">
                            <form class="am-form tpl-form-border-form tpl-form-border-br" action="{{:url('admin/index/update',['id'=>$id])}}" method="post">
                                <input type="hidden" name="_method" value="PUT" >
                                <input type="hidden" name="id" value="{{$data['id']}}">
                                <div class="am-form-group">
                                    <label for="user-name" class="am-u-sm-3 am-form-label"> 用户名<span
                                            class="tpl-form-line-small-title">username</span></label>
                                    <div class="am-u-sm-9">
                                        <input type="text" class="tpl-form-input" name="username"
                                               value="{{$data['username']}}">
                                    </div>
                                </div>

                                <div class="am-form-group">
                                    <label for="user-name" class="am-u-sm-3 am-form-label"> 姓名<span
                                            class="tpl-form-line-small-title">name</span></label>
                                    <div class="am-u-sm-9">
                                        <input type="text" class="tpl-form-input" name="name"
                                               value="{{$data['name']}}">
                                    </div>
                                </div>

                                <!--<div class="am-form-group">-->
                                    <!--<label for="user-email" class="am-u-sm-3 am-form-label">发布时间 <span-->
                                            <!--class="tpl-form-line-small-title">Time</span></label>-->
                                    <!--<div class="am-u-sm-9">-->
                                        <!--<input type="text" class="am-form-field tpl-form-no-bg" placeholder="发布时间"-->
                                               <!--data-am-datepicker="" readonly="">-->
                                        <!--<small>发布时间为必填</small>-->
                                    <!--</div>-->
                                <!--</div>-->

                                <!--<div class="am-form-group">-->
                                    <!--<label for="user-phone" class="am-u-sm-3 am-form-label">姓名 <span-->
                                            <!--class="tpl-form-line-small-title">Author</span></label>-->
                                    <!--<div class="am-u-sm-9">-->
                                        <!--<select data-am-selected="{searchBox: 1}" style="display: none;">-->
                                            <!--<option value="a">-The.CC</option>-->
                                            <!--<option value="b">夕风色</option>-->
                                            <!--<option value="o">Orange</option>-->
                                        <!--</select>-->

                                    <!--</div>-->
                                <!--</div>-->


                                <div class="am-form-group">
                                    <div class="am-u-sm-9 am-u-sm-push-3">
                                        <button class="am-btn am-btn-primary tpl-btn-bg-color-success ">提交
                                        </button>
                                    </div>
                                </div>
                            </form>
>>>>>>> ceef034756f211c9e4d9f78c06244840d01d9771
                        </div>
                    </div>
                </div>
            </div>
        </div>
<<<<<<< HEAD



    </div>


</div>
<!-- End right content -->

{/block}
=======
    </div>
    {{/block}}
>>>>>>> ceef034756f211c9e4d9f78c06244840d01d9771
